package com.erp.pro.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.erp.pro.dao.ProductLogDao;
import com.erp.pro.domain.ProductLogDO;
import com.erp.pro.service.ProductLogService;



@Service
public class ProductLogServiceImpl implements ProductLogService {
	@Autowired
	private ProductLogDao productLogDao;
	
	@Override
	public ProductLogDO get(Long id){
		return productLogDao.get(id);
	}
	
	@Override
	public List<ProductLogDO> list(Map<String, Object> map){
		return productLogDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return productLogDao.count(map);
	}
	
	@Override
	public int save(ProductLogDO productLog){
		return productLogDao.save(productLog);
	}
	
	@Override
	public int update(ProductLogDO productLog){
		return productLogDao.update(productLog);
	}
	
	@Override
	public int remove(Long id){
		return productLogDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return productLogDao.batchRemove(ids);
	}
	
}
